package message.test.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import message.test.domain.enums.Sex;

/**
 * Demo传递对象
 *
 * @author lv huikang (mailto:lv.huikang@zte.com.cn))
 * @since 2016/4/18
 */
@ApiModel(description = "demo的dto")
public class DemoDto {
    @ApiModelProperty(value = "编号", required = true)
    private Long pkId;
    @ApiModelProperty(value = "姓名", required = true)
    private String userName;
    @ApiModelProperty(value = "性别", required = true)
    private Sex sex;

    @ApiModelProperty(value = "编号", required = true)
    public Long getPkId() {
        return pkId;
    }

    @ApiModelProperty(value = "编号", required = true)
    public void setPkId(Long pkId) {
        this.pkId = pkId;
    }

    @ApiModelProperty(value = "姓名", required = true)
    public String getUserName() {
        return userName;
    }

    @ApiModelProperty(value = "姓名", required = true)
    public void setUserName(String userName) {
        this.userName = userName;
    }

    @ApiModelProperty(value = "性别", required = true)
    public Sex getSex() {
        return sex;
    }

    @ApiModelProperty(value = "性别", required = true)
    public void setSex(Sex sex) {
        this.sex = sex;
    }
}
